# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=tree
pkgver=2.0.2
pkgrel=0
pkgdesc="A recursive directory indented listing of files"
url="http://mama.indstate.edu/users/ice/tree/"
arch="all"
license="GPL-2.0-or-later"
makedepends="$depends_dev"
options="!check"
subpackages="$pkgname-doc"
source="http://mama.indstate.edu/users/ice/tree/src/tree-$pkgver.tgz
	0001-remove-03-cflag.patch
	"

build() {
	make
}

package() {
	make PREFIX="$pkgdir/usr" MANDIR="$pkgdir/usr/share/man" install
}

sha512sums="
5b9612ada9e3b1414d06daf5d7589f18480f232ba6ea29a004ceb7ff5b46c57610766bdb2babe9c20047dfea39cb233a6d92a60fcf2c38beccbebc94fb1eb20f  tree-2.0.2.tgz
5a700128a83f5ff1f5f3223db589e103e4c3eea5ea5af1d9c6a44216b03f64e258160ef1d7b154ee79255565d7cf2c9a2009d2abb2fd1c85cf2ff67e415199ba  0001-remove-03-cflag.patch
"
